﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MainFrame
{
    public partial class FormPullTips : Form
    {
        public FormPullTips()
        {
            InitializeComponent();
           
            this.ControlBox = false;
        }

        private void FormPullTips_Load(object sender, EventArgs e)
        {
            textBox1.Text = "是否需要拉料？" + Environment.NewLine + "如果要贴磁片的位置已经有磁片，则需要拉料，否则，不需要拉料";
        }

        private void btn_pull_Click(object sender, EventArgs e)
        {
            GlobalVar.isStartPullYes = true;
            GlobalVar.isStartPullNo = false;
            this.Close();
            this.Dispose();
        }

        private void btn_NoPull_Click(object sender, EventArgs e)
        {
            GlobalVar.isStartPullYes = false;
            GlobalVar.isStartPullNo = true;
            this.Close();
            this.Dispose();
        }

        private void FormPullTips_FormClosing(object sender, FormClosingEventArgs e)
        {
            e.Cancel = true;
        }
    }
}
